package com.xhwl.centiotdata.service.sysconfig;

import com.xhwl.common.pojo.cent.ParameterConfig;
import com.xhwl.common.pojo.config.SsyConfig;
import com.xhwl.common.pojo.criteria.ParamConfigCriteria;
import feign.Param;
import feign.RequestLine;
import org.springframework.cloud.openfeign.FeignClient;

/**
 * @Author: luyi
 * @Description:
 * @Date: Create in 9:56 2021/12/16
 */
@FeignClient("cent-sysconfig")
public interface ISsyConfigService {

    @RequestLine(value = "POST /ssy-config-service/find-by-project-id")
    SsyConfig findByProjectId(@Param("projectId") Integer projectId);

    @RequestLine(value = "POST /parameterconfig-service/find")
    ParameterConfig findBusinessByCode(@Param("criteria") ParamConfigCriteria criteria);
}
